﻿@model _1._7._2015_EF_Movies.Models.MovieViewModel
@{
    ViewBag.Title = "Create";
}

<h2>Add a Movie</h2>
@using (Html.BeginForm())
{
    @Html.LabelFor(m => m.Title)<br />
    @Html.TextBoxFor(m => m.Title)<br />
    @Html.LabelFor(m => m.Description)<br />
    @Html.TextAreaFor(m => m.Description)<br />    
    @Html.LabelFor(m => m.Rating)<br />
    @Html.TextBoxFor(m => m.Rating)<br />
    @Html.LabelFor(m => m.PosterUrl)<br />
    @Html.TextBoxFor(m => m.PosterUrl)<br />

    <input type="submit" value="Update Movie" />

}
